package com.hshh.controller;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

@Controller
public class ViewController {
//	@RequestMapping(value={"/test/view"}, method = RequestMethod.POST)
	@RequestMapping(value={"/test/view"})
	public ModelAndView view( HttpServletRequest request,HttpServletResponse reponse){
		System.out.println("view.do");
		ModelAndView mav = new ModelAndView();
		mav.setViewName("test");
		return mav;
	}
}
